home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network CD 1
/
Network CD.iso
/
compression
/
muchmore_doc
< prev
next >
Wrap
Text File
|
1993-12-23
|
21KB
|
577 lines
M u c h M o r e V 3.7
============================
© 1992 by Fridtjof Siebert
Nobileweg 67
D-70439 Stuttgart
Germany
EMail: fridi@amokst.adsp.sub.org
Enhancements since Version 3.2 by
Christian Stiens
Heustiege 2
D-59348 Lüdinghausen
Germany
EMail: Christian_Stiens@ouzonix.bo.open.de (UUCP)
2:243/4802.25 (Fido)
What is MuchMore?
MuchMore
is another program like More, Less etc. that prints
ASCII-Files to the screen. Unlike these, it opens its own screen
to show the text and to scroll it softly! But not only softly,
MuchMore
is also able to scroll very quickly if you want it to!
Furthermore, there are commands to search for strings and to print
the text.
MuchMore
will run on any Amiga, whether it's a PAL,
NTSC, overscan or any Amiga in future. Because
MuchMore
's screen
has no border, there are 80 characters displayed per line.
MuchMore
can load texts, which are crunched or crypted by XPK or
powerpacker, if you have installed the XPK (and powerpacker)
libraries.
MuchMore
can be made resident with the Resident command of AmigaDOS.
Why MuchMore instead of MORE, BLITZ or LESS?
MuchMore
is much shorter than LESS. BLITZ or other programs that
scroll quickly or softly usually use 2 Colors and don't support any
special fontstyles.
MuchMore
instead has four
C
o
l
o
r
s
and displays
bold
,
italic
,
underlined
and inverse text. Unlike many other
programs,
MuchMore
may use any non-proportional Font to display the
text.
MuchMore
is ideal to display long texts. The text is loaded
simultaneously while it is displayed. That is, while you're
reading the first page, the rest of the text is loaded into memory
and you're able to move through the text quickly then without
re-loading it.
How to start MuchMore:
CLI:
Kickstart 1.3:
MuchMore
[-a#|-b#|-c#{,#}|-e#|-f<font>/#|-i<editor>|-o|-p#|
-s|-t#|<file>]
Kickstart 2.04 or higher:
Template:
B=PLANES/N/K,C=PALETTE/K,D=DISPMODEREQ/S,E=EDITOR/K,F=FONT/K,
O=OLDSTYLE/S,P=TOOLPRI/N/K,S=SCROLLRASTER/S,T=TABWIDTH/N/K,
X=EXTRASPACE/N/K,FILE
'FILE' is the name of the ASCII-Text that is to be displayed.
If there are any spaces in the filename, it must be enclosed by
quotes. "
MuchMore
?" displays the usage. If
MuchMore
is started
without an argument it will ask for the filename using a file
requester.
With option 'T=TABWIDTH' you can set the tabulator width (default
is 8).
With option 'C=PALETTE' you can set the colors for
MuchMore's
screen. Example: -cAAA,000,f00,0f0
If you set D=DISPMODEREQ, then a requester appears, with that you
can choose the display mode for the screen. If you click on
'Save' then the setting is saved to 'ENV:muchmore.prefs' and
'ENVARC:muchmore.prefs'.
The option 'X=EXTRASPACE' tells
MuchMore
to put the specified
number of pixels between the lines.
You may select a font by providing the option 'F=FONT'. To force
MuchMore
to use Topaz 11, type 'MuchMore F=topaz/11'. Only
fixed width fonts are allowed.
Option 'E=EDITOR' tells
MuchMore
which editor to use if the user
hits Alt-Shift-E. Default is 'C:ED'. If there is no %s then %s is
appended. The %s is replaced with the file name.
The option 'B=PLANES' determines the number of Bitplanes for
MuchMore's
screen. The maximum is two planes.
IF you set option 'O=OLDSTYLE', then pageup/down is with a soft-
scroll, like in older versions of
MuchMore
.
If you set 'S=SCROLLRASTER' then
MuchMore
scrolls not with
RasInfo.dyOffset but with ScrollRaster. This is for not dragable
Screens like the 2024 monitor mode.
You can specify
MuchMore's
task priority with option 'P=TOOLPRI'.
MuchMore's
Tooltypes are evaluated now also on CLI-Start
(KS 2.04). If
MuchMore
is resident then the icon is searched
in C:
Workbench:
Just click the text to be printed with your mouse and then shift-
doubleclick
MuchMore
.
Texts with
MuchMore
as their default-tool (e.g. ":c/
MuchMore
"
when
MuchMore
has been copied to the disk's :c/ directory) can be
displayed easily by doubleclicking them.
MuchMore
supports the following Tooltypes:
PALETTE=#{,#} corresponding to CLI Option C
EXTRASPACE=# corresponding to CLI Option X
FONT=name/size corresponding to CLI Option F
EDITOR=name corresponding to CLI Option E
OLDSTYLE=TRUE|FALSE corresponding to CLI Option O
PLANES=# corresponding to CLI Option B
SCROLLMODE=# corresponding to CLI Option S
TABWIDTH=# corresponding to CLI Option T
TOOLPRI=# corresponding to CLI Option P
The tooltypes of the text have priority over
MuchMore's
tooltypes.
If the text is crypted then you have to enter the password in the
stringgadget which appears before the text is loaded.
MuchMore's commands:
The commands are activated by pressing the corresponging keys:
Space or left mousebutton:
Stops or restarts scrolling. While scrolling is
stopped the filelength, linenumber and the current
percentage of the text are displayed in the bottommost
line.
Pressing space at the end of the texts quits
MuchMore
.
BackSpace or right mousebutton:
Stops or restarts backwards scrolling. Works similar
to the Space-Key.
Up/Down or 2/8 of the numeric keypad:
Scrolls one line up or down.
If you press these keys together with the shift-key
you can start and stop fast scrolling.
Control plus these keys increased scroll speed 2-3
times.
Alternate plus these keys scroll one page up or down.
PgUp / PgDn (numeric keypad):
Scroll up or down one page.
T (top) or Home:
Moves to top of text.
B (bottom) or End:
Moves to bottom of text.
F (find):
Waits for a string to be entered and searches for this
string starting at the topmost line currently
displayed on the screen. If you press <shift>-<f>
then the search is case-sensitive. If you press key
'f' without shift then the search will be case-insen-
sitive. If the string is found, the line containing
the string will be displayed and the found string
will be highlighted. Else the screen will flash.
N (next):
Searches for the next occurance of the string entered
with `F'. See above.
P (previous):
Searches for the previous occurence of the string
entered with `F'. It starts with the topmost line
that's currently displayed and searches backwards. If
the search is succesful, the line containing the
string will be displayed like it is by the F-Command.
Else a beep will be displayed.
Shift + Fn:
Shift plus one of F1 to F10 sets a text marker at the
current position.
Fn:
Jumps to the text marker #n that's been set with Shift
plus Fn. If text marker #n isn't set yet, it will be
set to the current position, as it would have been if
you had pressed shift plus Fn.
G (goto):
Opens a Window with an integer-gadget. You can enter
the number of the line that is to be displayed.
Shift + Alt + E (edit):
Calls an text editor by executing "C:ED %s" with %s
replaced by the actual file name. If the text was
crunched then the decrunched text in "T:" will be
editied.
Shift + Alt + O (printout):
Prints the text. This is done with "TYPE text TO
PRT:". So it works with any printer when the
preferences are set correctly. The commands TYPE and
RUN must occur in the current C: directory. You don't
have to wait while printing. You can continue reading
the text with
MuchMore
. I hope that it is impossible
to press shift+alt+o accidentally, so you won't print
a 100k text when you in fact don't need a printout.
The printing cannot be interrupted, but you can switch
off your printer and wait for the printertrouble-
requester :-).
W (write):
Writes the text that's marked between the textmarkers
that have been set with F1 and F2 to a file or to PRT:
when you accept the default filename. The text is
saved starting at the topmost line of the page marked
with F1 until the bottommost line of F2's page. To
print the current page you just press Shift+F1,
Shift+F2, w and RETURN.
C (copy):
Copies the text that's marked between the textmarkers
that have been set with F1 and F2 to the clipboard.
This command requires the iffparse.library of Work-
bench 2.04+.
L (load):
Opens the filerequester and loads a new text.
HELP or H:
Shows all
MuchMore
-Commands. This way everybody who
doesn't have this documentation file should be able to
use
MuchMore
. After pressing any key the text is
displayed again.
ESC, Q, X or 5 of the numeric keypad:
Quit
MuchMore
. To avoid leaving the program by mistake
the keys Q, X and NK5 first show the info line before
quitting.
The Files in this package:
MuchMore
The executable
MuchMore.doc
This textfile
MuchMore.dok
German documentation
src
(dir) This directory contains the source:
MuchMore.mod
The OBERON Source
Disclaimer:
The use of this program is on your own risk. There is no liability
or responsibility for any damage caused by the program.
Copyright:
MuchMore
is free to be spread on public-domain and shareware disks,
as long as they are sold for a reasonable charge. It may be used
there to display readme- and documentation-files. My name has to
be left in the program (HELP).
Although
MuchMore
is not Shareware, donations are welcome.
It's not allowed to use this in a commercial way without my written
permission. This permission is also necessary if you want to
publish
MuchMore
as a part of a commercial product or use this
program commercially in any other way.
If you change anything in my source you're allowed to put your name
in the program's head (:History.), but leave my name in! If you've
made any enhancements, please send them to me (else there'll be
thousands of different versions).
Compiling:
MuchMore
was written in Oberon-2 using the Amiga Oberon Compiler
V3.01. You can find a demo version of the Compiler on Fish
Disk #880.
Revisions:
v1.0:
- this version was terribly slow and therefore not published!
v1.1:
- first published version.
v1.2:
- now the file's name, its length etc. are displayed when
scrolling is stopped with <Space>.
- now left and right mousebutton can be used instead of space and
backspace.
- controlcodes aren't displayed anymore.
v1.3:
- Strong increase in speed while scrolling. WarpText has been
replaced by QText (Sorry, Bill).
MuchMore
is now as fast as
Blitz (with Video Sync) although it uses a bigger screen.
- Now supports numeric keypad (home, end, PgUp etc.)
- Now the screen gets it's size from gfxbase^.normalDisplayXXX.
This way
MuchMore
can be run on PAL, NTSC, Amigas with an
Overscan- Workbench (like mine), and on resolutions that'll be
used in future. It always opens its screen as big as the
current Workbenchscreen.
v1.4:
- Displaying and loading of the text are now done by two
asynchroneous tasks. Scrolling is more homogeneous now and
there are no more stops to load further text.
- The feature to display several texts has been removed.
- Bugs in filelength and end-function removed
- New commands: find, next, previous to search for strings
- Scrolling stops when
MuchMore
's window becomes inactive.
v1.5:
- New command: print text (shift+alt+o)
- removed all imports to make
MuchMore
shorter
- added numeric key 5 to quit
v1.6:
- From this version on texts with different fontstyles (bold,
italics, inverse) and different colors can be displayed!
v1.7:
- Now
MuchMore
is again as fast as
MuchMore
v1.5 was, although it
uses 2 bitplanes and uses several fontstyles.
- Print (shift+alt+o) doesn't crash anymore when you quit
MuchMore
before printing is complete.
v1.8:
- Bug which occured when searching for a string having searched
for a longer string, removed.
- Strings found while execution of F, N or P are highlighted now.
- Added NK0 to display filelength etc.
v2.0:
- Ported
MuchMore
to OBERON
- Removed bug that caused RMB not to work on some amigas (it did
work on my computer)
- now uses the arp-filerequester
- new command: L = load new text
v2.1:
- Read-/write-errors used to create some very interesting crashes
with colorful graphics and stereo sound. I'm sorry, but I had
to remove this.
- CSI-Codes have been executed BACKWARDs. This caused problems
with sequences like <CSI>0;4m. Fixed now.
- New Commands: Ping & Pong, Goto
- First page is displayed immediately now when
MuchMore
is
started.
v2.2:
- Now
MuchMore
uses console's keymapping instead of the hardcoded
one it used before. So there won't be problems with any
japanese keymaps.
v2.3:
- New command: 's' (sleep) and pop up function lAlt+ESC.
'
MuchMore
-s' sleeps immediately.
- Bug in interpretation of <CSI>[m fixed. <CSI>[m is now treated
as <CSI>[m.
v2.4:
- New Command: 'w' to write block to file or priner
- Argumentparser rewritten. Now supports quotes.
v2.5:
- Uses 8x8 Font set with SetFont instead of topaz 8.
- Allocates 4K Memory chunks instead of one memorychunk for each
line. So MuchMore won't scatter the Memory anymore. Another
positive effect is that MuchMore needs less nemory now (about
14 Bytes per line).
v2.6:
- asynchronous fast scrolling with the ctrl-key.
- MuchMore is reentrant (pure)
- MuchMore uses an interlace screen when the preferences are set
accordingly.
- On low chip-memory, MuchMore uses a 1-plane screen.
v2.7:
- '-l' to toggle interlaced mode
- uses ASL's FileRequester
- no more calls RethinkDisplay() 50 (or even 60) times a second
v2.8:
- leaves some spaces between the lines on interlace screens to make
the text more readable.
v3.0:
- sleep ('-s') is no more supported (was rarely used).
- now MuchMore uses any non-proportional font.
- new options to select a font: '-f<font>' and '-s<size>'.
v3.1:
- Uses Screenmode of Workbench Screen
v3.2:
- Support for not srollable Screens
- No more Scrolling if complete display rebuilding
--- Fridtjof.
v3.2.1:
- XPK Support
- New Syntax for option -f. Example: -ftopaz/11
- New option -p for Password
- New option -e for Extra Spacing
- New option -c for Screen Colors. Example: -c0,abc,f00
- Tool-Types
v3.2.2:
- The last version displayed the first two chars of each line
at the end of the line on some overscan dimensions.
v3.2.3:
- The non-scroll mode now works under KS2.04 when using a 8x8 font
- The Console-Device wasn't closed
- Display Mode Requester
- New option -s for Scrollmode
- Busypointer
- ToolType evaluation if CLI started (AmigaOS 2.04)
- Finds MuchMore's Tooltypes now also, if MM as default tool of the
Text wasn't found directly but over the Dos search path.
v3.2.4:
- Some bugs in GetString() removed
- MM now ignores key/mouse strikes while it is busy
v3.2.5:
- Asynchronous scrolling changed.
- Dos.ReadArgs
- New Option -t / "T=TOOLPRI" for task priority
v3.2.6:
- Scrollmode 3 scrolls soft
- Scrollmode 1 is default under KS2.04 and higher
- New option -a or "A=TABWIDTH" for tabulator width
- New option -o or "O=ONEPLANE"
- New option "N=NOOSCAN"
- Opens screen with full overscan width
- Uses QText no more
v3.2.7:
- MM doesn't poke to his bitplanes no more, but uses the
funcs of graphics.library for this purpose
v3.2.8:
- Option "O=ONEPLANE" removed
- new Option "B=PLANES" instead
v3.2.9:
- implemented V36 ANSI Codes (<CSI>22-28m)
v3.2.10:
- Locale Support
- Made Display Mode Requester font-sensitive
v3.3:
- Keys Q, X and NK5 quit after first showing the info line
to avoid unintended quitting
v3.4:
- Key 'c' copies the text between markers #1 and #2 to the
clipboard
v3.5:
- Search can be case-sensitiv or case-insensitiv
- Searching now with Boyer-Moore Algorithm
v3.6:
- New Option O=OLDSTYLE for page up/down w/ softscroll
- Screen flashes when pressing Up (Down) at BOF (EOF)
v3.7:
- New Option E=EDITOR
- MM was not 100% pure because the BusyPointer image was
not copied -> Probs with WShell
- Option PASSWORD removed. Password must be entered in a
string gadget
- Options NOOSCAN and SCROLLRASTER removed
- Text was not printed if filename contained spaces
- MuchMore crashed under Kick 1.3 when displaying italic
text due to a bug in Kickstart 1.3.
--- Christian.